package com.itcast.stargraph.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itcast.stargraph.dto.request.UserLoginReqDTO;
import com.itcast.stargraph.dto.respone.UserLoginResDTO;
import com.itcast.stargraph.pojo.User;
import jakarta.validation.Valid;

/**
 * TODO
 *
 * @Author katana
 * @Date 2025/6/9 11:21
 */
public interface UserService extends IService<User> {
    /**
     * 登录
     * @param loginDTO
     * @return
     */
    UserLoginResDTO login(@Valid UserLoginReqDTO loginDTO);
}
